<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function $$ (id){
				return document.getElementById(id);
			}
			window.onload = function(){
				var cnv = $$("canvas");var cxt = cnv.getContext("2d");
				cxt.beginPath();
				cxt.arc(80,80,50,0,180*Math.PI/180,true);
				cxt.closePath();cxt.strokeStyle = "hotpink"
				cxt.stroke();
				cxt.beginPath();
				cxt.arc(120,80,50,0,360*Math.PI/180,true);
				cxt.closePath();
				cxt.strokeStyle = "hotpink";
				cxt.stroke();
			}
		</script>
	</head>
	<body>
		<canvas id="canvas" width="200" height="150" style="border: 1px dashed gray;"></canvas>
	</body>
</html>
